<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
	<head>
		<meta charset="UTF-8">
		<title>编辑预约详情</title>
		<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/admin/car/fontsawesome/css/font-awesome.css"/>
		<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/admin/car/css/style.css"/>
	</head>
	<body>
		<div class="main_box">
			<div class="cont_box editpro_box">
				<form action="${pageContext.request.contextPath}/yuyue/updateyy" method="post" id="editSales_form">
					<ul class="addpro_box">
						<li><input type="hidden" name="G_Appointment_no" value="${sub.g_Appointment_no}"/></li>
						<li>
							<label>预约用户：</label>
<%--							<input type="text" name="proname" value="陈少群" readonly/>--%>
							<input type="text" name="G_Reserved_user" value="${sub.g_Reserved_user}"/>

						</li>
						<li>
							<label>手机号：</label>
<%--							<input type="text" name="phone" value="13623514486" readonly/>--%>
							<input type="text" name="G_phone" value="${sub.g_phone}"/>
						</li>
						<li>
							<label>预约车辆：</label>"
							<input type="text" name="G_license_plate_number" value="晋AJ583K" readonly/>
<%--							<input type="text" name="G_license_plate_number" value="${sub.G_license_plate_number}" readonly/>--%>
						</li>
						<li>
							<label>品牌型号：</label>
							<input type="text" name="model" value="进口奥迪" readonly/>
						</li>
						<li>
							<label>车辆指导价：</label>
							<input type="text" name="price" value="10000.00" readonly/>
						</li>
						<li>
							<label>预约服务：</label>
							<select name="E_service_number">
								<option <c:if test="${sub.e_service_number=='0'}">selected</c:if> value="0">  普洗 </option>
								<option <c:if test="${sub.e_service_number=='1'}">selected </c:if> value="1">  急速精洗</option>
								</select>
						</li>
						<li>
							<label>预约时间：</label>
<%--							<input type="text" name="date" value="2017-03-31" readonly/>--%>
							<input type="date" name="G_appointment_time" value="${sub.g_appointment_time}"/>
						</li>
						<li>
							<label>提交预约时间：</label>
<%--							<input type="text" name="subdate" value="2017-03-31" readonly/>--%>
							<input type="date" name="G_Service_end_time" value="${sub.g_Service_end_time}"/>
						</li>
						<li>
							<label>状态：</label>
							<select name="G_state">
								<option  <c:if test="${sub.g_state=='0'}">selected</c:if> value="0">已服务</option>
								<option <c:if test="${sub.g_state=='1'}">selected </c:if> value="1">已取消</option>
							</select>
						</li>
						<li>
							<label>备注：</label>
							<textarea rows="3" name="G_remarks">${sub.g_remarks}</textarea>
						</li>
					</ul>
					<div class="probtn_box clearfix">
						<a href="${pageContext.request.contextPath}/yuyue/findsubAll"><input type="submit" value="保存修改" class="btn blue_btn submit"/></a>
					</div>
				</form>
			</div>
		</div>
		<!--javascript include-->
		<script src="js/jquery-2.2.1.min.js"></script>
		<script src="js/jquery.dataTables.min.js"></script>
		<script src="js/bootstrap-datepicker.js"></script>
		<script src="js/jquery.validate.min.js"></script>
		<script src="js/jquery.form.min.js"></script>
		<script src="js/other.js"></script>
		<script>
			$(function(){
				$("body").other({formId:"#G_Appointment_no",formUrl:""});//formUrl 表单请求地址
			});
		</script>
	</body>
</html>